package com.microlecture.mapper;

import com.microlecture.entity.CookbookDiscuss;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CookbookDiscussMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(CookbookDiscuss record);

    CookbookDiscuss selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CookbookDiscuss record);

    List<CookbookDiscuss> selectByCondition(@Param("userid") Integer userid, @Param("cookbookid") Integer cookbookid);

}